def priceAvg(*prices):
    total_price = 0
    for p in prices:
        total_price += p
    return total_price/len(prices)
ret_avg = priceAvg(10, 20, 30)
print(ret_avg)